import request from "../utils/request"

//根据id查询
export const queryInfoApi1 = (id) => request.get(`/admin/${id}`);

//修改密码
export const updatePasswordApi1 = (username, password) => {
  return request.put(`/admin?username=${encodeURIComponent(username)}&password=${encodeURIComponent(password)}`);
};

